package com.bbt.dormassistant.service;

import com.bbt.dormassistant.entity.ActivityRoom;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ActivityRoomService {


    /**
     * 列出所有活动室
     */
    List<ActivityRoom> queryActivityRoom();


    /**
     * 根据活动室ID查询
     */
    ActivityRoom queryActivityRoomById(int activityRoomId);


    /**
     *
     * @param userId 用户ID
     * @param building 建筑
     * @param room 房间号
     * @return Boolean
     */
    Boolean addActivityRoom(String userId,String building,Integer room);

    /**
     *
     * @param activityRoomId 需要被修改的活动室ID
     * @param userId 用户ID
     * @param building 楼栋
     * @param room 房间号
     * @return Boolean
     */
    Boolean modifyActivityRoom(Integer activityRoomId,String userId,String building,Integer room);


    /**
     * 删除活动室信息
     */
    Boolean deleteActivityRoom(Integer activityId);


}
